package com.zjzywl.iotSendthings.repository1;

import org.springframework.data.jpa.repository.JpaRepository;

import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;

import com.zjzywl.iotSendthings.entity1.KSSZPB;



@Repository
public interface KsszpbRepository extends JpaRepository<KSSZPB,String> {
	@Query("select zp from KSSZPB where rybh=:rybh and zpxh='0' ")
	byte[] getImg(@Param("rybh")String rybh);
	
}
